<h1>New feature</h1>

<%= error_messages_for :feature %>

<% form_for(@feature) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Cost</b><br />
    <%= f.text_field :cost %>
  </p>

  <p>
    <b>Infotext</b><br />
    <%= f.text_field :infotext %>
  </p>

  <p>
    <b>Scale</b><br />
    <%= f.text_field :scale %>
  </p>

  <p>
    <b>Maxts</b><br />
    <%= f.text_field :maxts %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', features_path %>
